<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Descriptor Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__dmac__descriptor__functions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Descriptor Functions<div class="ingroups"><a class="el" href="group__group__dmac.html">DMAC         (Direct Memory Access Controller)</a> &raquo; <a class="el" href="group__group__dmac__functions.html">Functions</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gad4204ef079b02d9afdd9328f0cd461f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__dmac__enums.html#ga67fe9048608517c9cdebbe0372866eb5">cy_en_dmac_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gad4204ef079b02d9afdd9328f0cd461f9">Cy_DMAC_Descriptor_Init</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, <a class="el" href="structcy__stc__dmac__descriptor__config__t.html">cy_stc_dmac_descriptor_config_t</a> const *config)</td></tr>
<tr class="memdesc:gad4204ef079b02d9afdd9328f0cd461f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the descriptor structure in SRAM from a pre-initialized configuration structure.  <a href="#gad4204ef079b02d9afdd9328f0cd461f9">More...</a><br /></td></tr>
<tr class="separator:gad4204ef079b02d9afdd9328f0cd461f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga831963e3b998915b7ebba67c701fa128"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga831963e3b998915b7ebba67c701fa128">Cy_DMAC_Descriptor_DeInit</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor)</td></tr>
<tr class="memdesc:ga831963e3b998915b7ebba67c701fa128"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the content of the specified descriptor.  <a href="#ga831963e3b998915b7ebba67c701fa128">More...</a><br /></td></tr>
<tr class="separator:ga831963e3b998915b7ebba67c701fa128"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga66bd8c441cebdd6ca8c2c53210f8355e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, <a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *nextDescriptor)</td></tr>
<tr class="memdesc:ga66bd8c441cebdd6ca8c2c53210f8355e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a Next Descriptor parameter for the specified descriptor.  <a href="#ga66bd8c441cebdd6ca8c2c53210f8355e">More...</a><br /></td></tr>
<tr class="separator:ga66bd8c441cebdd6ca8c2c53210f8355e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafd0db24ee5e8a7fd212a0a4ea6db4f2a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, <a class="el" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType)</td></tr>
<tr class="memdesc:gafd0db24ee5e8a7fd212a0a4ea6db4f2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the descriptor's type for the specified descriptor.  <a href="#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">More...</a><br /></td></tr>
<tr class="separator:gafd0db24ee5e8a7fd212a0a4ea6db4f2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6b71b6054e4e16bb3ba58bfdd5bab2cc"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, void const *srcAddress)</td></tr>
<tr class="memdesc:ga6b71b6054e4e16bb3ba58bfdd5bab2cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the source address parameter for the specified descriptor.  <a href="#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">More...</a><br /></td></tr>
<tr class="separator:ga6b71b6054e4e16bb3ba58bfdd5bab2cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad9a9e073cd42384059732d86bd3c8dbf"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, void const *dstAddress)</td></tr>
<tr class="memdesc:gad9a9e073cd42384059732d86bd3c8dbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the destination address parameter for the specified descriptor.  <a href="#gad9a9e073cd42384059732d86bd3c8dbf">More...</a><br /></td></tr>
<tr class="separator:gad9a9e073cd42384059732d86bd3c8dbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4e1c1dac3801e497af78e0deb77c97f2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, uint32_t xCount)</td></tr>
<tr class="memdesc:ga4e1c1dac3801e497af78e0deb77c97f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the number of data elements to transfer in the X loop for the specified descriptor (for all descriptor types except single transfer).  <a href="#ga4e1c1dac3801e497af78e0deb77c97f2">More...</a><br /></td></tr>
<tr class="separator:ga4e1c1dac3801e497af78e0deb77c97f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8953580c547f07a26c9d84b1495b1c6c"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, uint32_t yCount)</td></tr>
<tr class="memdesc:ga8953580c547f07a26c9d84b1495b1c6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the number of data elements for the Y loop of the specified descriptor (for 2D descriptors only).  <a href="#ga8953580c547f07a26c9d84b1495b1c6c">More...</a><br /></td></tr>
<tr class="separator:ga8953580c547f07a26c9d84b1495b1c6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga560d94e059049b3f5445fe3c2e6b72c0"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, int32_t srcXincrement)</td></tr>
<tr class="memdesc:ga560d94e059049b3f5445fe3c2e6b72c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the source increment parameter for the X loop of the specified descriptor (for 1D or 2D descriptors only).  <a href="#ga560d94e059049b3f5445fe3c2e6b72c0">More...</a><br /></td></tr>
<tr class="separator:ga560d94e059049b3f5445fe3c2e6b72c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa618f9e35a88f634e7be6d695beed5b3"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, int32_t dstXincrement)</td></tr>
<tr class="memdesc:gaa618f9e35a88f634e7be6d695beed5b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the destination increment parameter for the X loop for the specified descriptor (for 1D or 2D descriptors only).  <a href="#gaa618f9e35a88f634e7be6d695beed5b3">More...</a><br /></td></tr>
<tr class="separator:gaa618f9e35a88f634e7be6d695beed5b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacd37c5dad7ec422290149fb8b35e349c"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, int32_t srcYincrement)</td></tr>
<tr class="memdesc:gacd37c5dad7ec422290149fb8b35e349c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the source increment parameter for the Y loop for the specified descriptor (for 2D descriptors only).  <a href="#gacd37c5dad7ec422290149fb8b35e349c">More...</a><br /></td></tr>
<tr class="separator:gacd37c5dad7ec422290149fb8b35e349c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa54ff10ba6204359e09c8e7e82a09304"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, int32_t dstYincrement)</td></tr>
<tr class="memdesc:gaa54ff10ba6204359e09c8e7e82a09304"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the destination increment parameter for the Y loop of the specified descriptor (for 2D descriptors only).  <a href="#gaa54ff10ba6204359e09c8e7e82a09304">More...</a><br /></td></tr>
<tr class="separator:gaa54ff10ba6204359e09c8e7e82a09304"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga33ee42509bc2000a35cbc804b551b324"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a> interruptType)</td></tr>
<tr class="memdesc:ga33ee42509bc2000a35cbc804b551b324"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the interrupt type parameter for the specified descriptor.  <a href="#ga33ee42509bc2000a35cbc804b551b324">More...</a><br /></td></tr>
<tr class="separator:ga33ee42509bc2000a35cbc804b551b324"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0cd754c7c65c44218649c71229f7ea19"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a> triggerInType)</td></tr>
<tr class="memdesc:ga0cd754c7c65c44218649c71229f7ea19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Trigger In Type parameter for the specified descriptor.  <a href="#ga0cd754c7c65c44218649c71229f7ea19">More...</a><br /></td></tr>
<tr class="separator:ga0cd754c7c65c44218649c71229f7ea19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacada5d58d10e4159e478b088427ad475"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a> triggerOutType)</td></tr>
<tr class="memdesc:gacada5d58d10e4159e478b088427ad475"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Trigger Out Type parameter for the specified descriptor.  <a href="#gacada5d58d10e4159e478b088427ad475">More...</a><br /></td></tr>
<tr class="separator:gacada5d58d10e4159e478b088427ad475"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab3b43a9d1f68debb968cdc7566ca8260"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, <a class="el" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a> dataSize)</td></tr>
<tr class="memdesc:gab3b43a9d1f68debb968cdc7566ca8260"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Data Element Size parameter for the specified descriptor.  <a href="#gab3b43a9d1f68debb968cdc7566ca8260">More...</a><br /></td></tr>
<tr class="separator:gab3b43a9d1f68debb968cdc7566ca8260"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3f3af3a57d216ab2221ce0da508b9d77"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, <a class="el" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a> srcTransferSize)</td></tr>
<tr class="memdesc:ga3f3af3a57d216ab2221ce0da508b9d77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Source Transfer Size parameter for the specified descriptor.  <a href="#ga3f3af3a57d216ab2221ce0da508b9d77">More...</a><br /></td></tr>
<tr class="separator:ga3f3af3a57d216ab2221ce0da508b9d77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeea3a0498b657bbc66812bb5ff032ab3"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, <a class="el" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a> dstTransferSize)</td></tr>
<tr class="memdesc:gaeea3a0498b657bbc66812bb5ff032ab3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Destination Transfer Size parameter for the specified descriptor.  <a href="#gaeea3a0498b657bbc66812bb5ff032ab3">More...</a><br /></td></tr>
<tr class="separator:gaeea3a0498b657bbc66812bb5ff032ab3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga52a58b795648c1cd7eb364ab21813d93"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, <a class="el" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a> retrigger)</td></tr>
<tr class="memdesc:ga52a58b795648c1cd7eb364ab21813d93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the retrigger value which specifies whether the controller should wait for the input trigger to be deactivated.  <a href="#ga52a58b795648c1cd7eb364ab21813d93">More...</a><br /></td></tr>
<tr class="separator:ga52a58b795648c1cd7eb364ab21813d93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafe925e283d4874c770f0636a42ac4b9b"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *descriptor, <a class="el" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a> channelState)</td></tr>
<tr class="memdesc:gafe925e283d4874c770f0636a42ac4b9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the channel state on completion of the specified descriptor.  <a href="#gafe925e283d4874c770f0636a42ac4b9b">More...</a><br /></td></tr>
<tr class="separator:gafe925e283d4874c770f0636a42ac4b9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga92e6d873ee760a5bfc386c22760926db"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga92e6d873ee760a5bfc386c22760926db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a next descriptor address of the specified descriptor.  <a href="#ga92e6d873ee760a5bfc386c22760926db">More...</a><br /></td></tr>
<tr class="separator:ga92e6d873ee760a5bfc386c22760926db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga89a5a753b8956d05412d106a822cc38b"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga89a5a753b8956d05412d106a822cc38b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the descriptor's type of the specified descriptor.  <a href="#ga89a5a753b8956d05412d106a822cc38b">More...</a><br /></td></tr>
<tr class="separator:ga89a5a753b8956d05412d106a822cc38b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac330a3052ba1af3bdb6a22f8e97c9567"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:gac330a3052ba1af3bdb6a22f8e97c9567"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the source address of the specified descriptor.  <a href="#gac330a3052ba1af3bdb6a22f8e97c9567">More...</a><br /></td></tr>
<tr class="separator:gac330a3052ba1af3bdb6a22f8e97c9567"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f439628d3e05e5e8e9daf99e172c4c5"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga2f439628d3e05e5e8e9daf99e172c4c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the destination address of the specified descriptor.  <a href="#ga2f439628d3e05e5e8e9daf99e172c4c5">More...</a><br /></td></tr>
<tr class="separator:ga2f439628d3e05e5e8e9daf99e172c4c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaab6af241195f705c87e51457c57b2f6"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:gaaab6af241195f705c87e51457c57b2f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of data elements for the X loop of the specified descriptor (for all descriptor types except single transfer).  <a href="#gaaab6af241195f705c87e51457c57b2f6">More...</a><br /></td></tr>
<tr class="separator:gaaab6af241195f705c87e51457c57b2f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0cd6eef7258481e5c50cef2c50b60f44"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga0cd6eef7258481e5c50cef2c50b60f44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of X loops to execute in the Y loop of the specified descriptor (for 2D descriptors only).  <a href="#ga0cd6eef7258481e5c50cef2c50b60f44">More...</a><br /></td></tr>
<tr class="separator:ga0cd6eef7258481e5c50cef2c50b60f44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae81c87c1bfed0342b8813498e918c261"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:gae81c87c1bfed0342b8813498e918c261"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the source increment parameter for the X loop of the specified descriptor (for 1D or 2D descriptors only).  <a href="#gae81c87c1bfed0342b8813498e918c261">More...</a><br /></td></tr>
<tr class="separator:gae81c87c1bfed0342b8813498e918c261"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga207b84ec9ca779419608f57b68cbb543"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga207b84ec9ca779419608f57b68cbb543"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the destination increment parameter for the X loop of the specified descriptor (for 1D or 2D descriptors only).  <a href="#ga207b84ec9ca779419608f57b68cbb543">More...</a><br /></td></tr>
<tr class="separator:ga207b84ec9ca779419608f57b68cbb543"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga63bb872f47d781252c49a58bac6c8804"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga63bb872f47d781252c49a58bac6c8804"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the source increment parameter for the Y loop of the specified descriptor (for 2D descriptors only).  <a href="#ga63bb872f47d781252c49a58bac6c8804">More...</a><br /></td></tr>
<tr class="separator:ga63bb872f47d781252c49a58bac6c8804"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga59cef672ea79683cdf083d00ebd81948"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga59cef672ea79683cdf083d00ebd81948"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the destination increment parameter for the Y loop of the specified descriptor (for 2D descriptors only).  <a href="#ga59cef672ea79683cdf083d00ebd81948">More...</a><br /></td></tr>
<tr class="separator:ga59cef672ea79683cdf083d00ebd81948"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga21ec9241535e47bb5e84efbd2e767e86"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga21ec9241535e47bb5e84efbd2e767e86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Interrupt-Type of the specified descriptor.  <a href="#ga21ec9241535e47bb5e84efbd2e767e86">More...</a><br /></td></tr>
<tr class="separator:ga21ec9241535e47bb5e84efbd2e767e86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae472348bb46b4cad24957c4bcbf2bce5"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:gae472348bb46b4cad24957c4bcbf2bce5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Trigger In Type of the specified descriptor.  <a href="#gae472348bb46b4cad24957c4bcbf2bce5">More...</a><br /></td></tr>
<tr class="separator:gae472348bb46b4cad24957c4bcbf2bce5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab98fa43d55397427d169b5ee4dd14721"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:gab98fa43d55397427d169b5ee4dd14721"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Trigger Out Type of the specified descriptor.  <a href="#gab98fa43d55397427d169b5ee4dd14721">More...</a><br /></td></tr>
<tr class="separator:gab98fa43d55397427d169b5ee4dd14721"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga54b4d0efc388ff5b94f9187eb122419a"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga54b4d0efc388ff5b94f9187eb122419a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Data Element Size of the specified descriptor.  <a href="#ga54b4d0efc388ff5b94f9187eb122419a">More...</a><br /></td></tr>
<tr class="separator:ga54b4d0efc388ff5b94f9187eb122419a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga261e31f54cba7a8338849cae611786a8"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga261e31f54cba7a8338849cae611786a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Source Transfer Size of the specified descriptor.  <a href="#ga261e31f54cba7a8338849cae611786a8">More...</a><br /></td></tr>
<tr class="separator:ga261e31f54cba7a8338849cae611786a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97c71222960b53c37181ada01e75bd8e"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga97c71222960b53c37181ada01e75bd8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Destination Transfer Size of the specified descriptor.  <a href="#ga97c71222960b53c37181ada01e75bd8e">More...</a><br /></td></tr>
<tr class="separator:ga97c71222960b53c37181ada01e75bd8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8b8c79299a21b1ba3a0d1da2e7f86d15"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga8b8c79299a21b1ba3a0d1da2e7f86d15"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a value which specifies whether the controller should wait for the input trigger to be deactivated.  <a href="#ga8b8c79299a21b1ba3a0d1da2e7f86d15">More...</a><br /></td></tr>
<tr class="separator:ga8b8c79299a21b1ba3a0d1da2e7f86d15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga261ff701b27ae681e6163a03e86a6bfc"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a> (<a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga261ff701b27ae681e6163a03e86a6bfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the channel state on completion of the specified descriptor.  <a href="#ga261ff701b27ae681e6163a03e86a6bfc">More...</a><br /></td></tr>
<tr class="separator:ga261ff701b27ae681e6163a03e86a6bfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="gad4204ef079b02d9afdd9328f0cd461f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad4204ef079b02d9afdd9328f0cd461f9">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_Init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__dmac__enums.html#ga67fe9048608517c9cdebbe0372866eb5">cy_en_dmac_status_t</a> Cy_DMAC_Descriptor_Init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcy__stc__dmac__descriptor__config__t.html">cy_stc_dmac_descriptor_config_t</a> *&#160;</td>
          <td class="paramname"><em>config</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes the descriptor structure in SRAM from a pre-initialized configuration structure. </p>
<p>This function initializes only the descriptor and not the channel.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">config</td><td>This is a configuration structure that has all initialization information for the descriptor.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The status /ref cy_en_dmac_status_t.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"><span class="preprocessor">    #define DATA_COUNT (8UL)</span></div><div class="line">    <span class="comment">/* Scenario: Initialize a 1D descriptor */</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor;</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor;</div><div class="line">    uint32_t src[DATA_COUNT];</div><div class="line">    uint32_t dst[DATA_COUNT];</div><div class="line">    </div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__config__t.html">cy_stc_dmac_descriptor_config_t</a> descriptor_cfg = </div><div class="line">    {</div><div class="line">        .<a class="code" href="structcy__stc__dmac__descriptor__config__t.html#ab968eec67221ce9448bc3d7a51012232">retrigger</a> = <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>,</div><div class="line">        .interruptType = <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>,</div><div class="line">        .triggerOutType = <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>,</div><div class="line">        .channelState = <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>,</div><div class="line">        .triggerInType = <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>,</div><div class="line">        .dataSize = <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>,</div><div class="line">        .srcTransferSize = <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>,</div><div class="line">        .dstTransferSize = <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>,</div><div class="line">        .descriptorType = <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>,</div><div class="line">        .srcAddress = &amp;src,</div><div class="line">        .dstAddress = &amp;dst,</div><div class="line">        .srcXincrement = 1U,</div><div class="line">        .dstXincrement = 1U,</div><div class="line">        .xCount = DATA_COUNT,</div><div class="line">        .srcYincrement = 0U,</div><div class="line">        .dstYincrement = 0U,</div><div class="line">        .yCount = 1UL,</div><div class="line">        .nextDescriptor = &amp;nextDescriptor,</div><div class="line">    };</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (<a class="code" href="group__group__dmac__enums.html#gga67fe9048608517c9cdebbe0372866eb5a5c4b9c1a66c7776ddc98a5b3dedac160">CY_DMAC_SUCCESS</a> != <a class="code" href="group__group__dmac__descriptor__functions.html#gad4204ef079b02d9afdd9328f0cd461f9">Cy_DMAC_Descriptor_Init</a>(&amp;descriptor, &amp;descriptor_cfg))</div><div class="line">    {</div><div class="line">        <span class="comment">/* Insert error handling */</span></div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Setup and enable the DMAC channel 0 */</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__channel__config__t.html">cy_stc_dmac_channel_config_t</a> channelConfig;</div><div class="line">    channelConfig.<a class="code" href="structcy__stc__dmac__channel__config__t.html#a01cab162709493ed756b6cb21219ff51">enable</a> = <span class="keyword">false</span>;</div><div class="line">    channelConfig.<a class="code" href="structcy__stc__dmac__channel__config__t.html#ade9585ff561af6ad292932293e0bd15d">bufferable</a> = <span class="keyword">false</span>;</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (<a class="code" href="group__group__dmac__enums.html#gga67fe9048608517c9cdebbe0372866eb5a5c4b9c1a66c7776ddc98a5b3dedac160">CY_DMAC_SUCCESS</a> != <a class="code" href="group__group__dmac__channel__functions.html#ga7b508e6cc332b4d009bf9b09ed6529b3">Cy_DMAC_Channel_Init</a>(DMAC, 0UL, &amp;channelConfig))</div><div class="line">    {</div><div class="line">        <span class="comment">/* Insert error handling */</span></div><div class="line">    }</div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dmac__channel__functions.html#ga0ea7589df07e40e6723dc7f992e6994b">Cy_DMAC_Channel_SetDescriptor</a>(DMAC, 0UL, &amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__channel__functions.html#ga4e68ab04d5de2d6a1b31779741aa64db">Cy_DMAC_Channel_SetPriority</a>(DMAC, 0UL, 3UL);</div><div class="line">    <a class="code" href="group__group__dmac__channel__functions.html#gab39e11c3ad72ebfd07cdd9840385769b">Cy_DMAC_Channel_Enable</a>(DMAC, 0UL);</div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dmac__block__functions.html#ga3f45f389340c3282c59d6ffe6e5040b5">Cy_DMAC_Enable</a>(DMAC);</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (<span class="keyword">true</span> != <a class="code" href="group__group__dmac__channel__functions.html#ga4423c4dbc11bb51cb622e95fb593ee9c">Cy_DMAC_Channel_IsEnabled</a>(DMAC, 0UL))</div><div class="line">    {</div><div class="line">        <span class="comment">/* Insert error handling */</span></div><div class="line">    }</div><div class="line"></div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga831963e3b998915b7ebba67c701fa128"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga831963e3b998915b7ebba67c701fa128">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_DeInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_DMAC_Descriptor_DeInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the content of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: Disable a descriptor */</span></div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga831963e3b998915b7ebba67c701fa128">Cy_DMAC_Descriptor_DeInit</a>(&amp;descriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga66bd8c441cebdd6ca8c2c53210f8355e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga66bd8c441cebdd6ca8c2c53210f8355e">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetNextDescriptor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_DMAC_Descriptor_SetNextDescriptor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>nextDescriptor</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets a Next Descriptor parameter for the specified descriptor. </p>
<p>Based on the descriptor type, the offset of the address for the next descriptor register may vary: For the single and scatter transfer descriptors, this register is at offset 0x0c. For the memory copy descriptor type, this register is at offset 0x10. For the 1D-transfer descriptor type, this register is at offset 0x14. For the 2D-transfer descriptor type, this register is at offset 0x1c.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">nextDescriptor</td><td>The pointer to the next descriptor. For CAT1C devices this pointer needs to point to 32 byte aligned structure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gafd0db24ee5e8a7fd212a0a4ea6db4f2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetDescriptorType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_DMAC_Descriptor_SetDescriptorType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a>&#160;</td>
          <td class="paramname"><em>descriptorType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the descriptor's type for the specified descriptor. </p>
<p>Moves the next descriptor pointer and X data count values into the proper offset in accordance to the actual descriptor type.</p>
<p>During the descriptor's type change, carefully set up the settings starting from dstAddress and all the rest below in the <a class="el" href="structcy__stc__dmac__descriptor__config__t.html">cy_stc_dmac_descriptor_config_t</a> structure. This is because the content of the descriptor registers might be lost/overridden by other descriptor settings due to the different registers structure for different descriptor types.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">descriptorType</td><td>The descriptor type <a class="el" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga6b71b6054e4e16bb3ba58bfdd5bab2cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetSrcAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetSrcAddress </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void const *&#160;</td>
          <td class="paramname"><em>srcAddress</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the source address parameter for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">srcAddress</td><td>The source address value for the descriptor. For CAT1C devices this pointer needs to point to 32 byte aligned structure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gad9a9e073cd42384059732d86bd3c8dbf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad9a9e073cd42384059732d86bd3c8dbf">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetDstAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetDstAddress </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void const *&#160;</td>
          <td class="paramname"><em>dstAddress</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the destination address parameter for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">dstAddress</td><td>The destination address value for the descriptor. For CAT1C devices this pointer needs to point to 32 byte aligned structure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga4e1c1dac3801e497af78e0deb77c97f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4e1c1dac3801e497af78e0deb77c97f2">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetXloopDataCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_DMAC_Descriptor_SetXloopDataCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>xCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the number of data elements to transfer in the X loop for the specified descriptor (for all descriptor types except single transfer). </p>
<p>Based on the descriptor type, the offset of the address for the xCount register may vary: For the scatter transfer descriptors type, this register is at offset 0x8. For all the rest of the supported descriptor types, this register is at offset 0xc.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">xCount</td><td>The number of data elements to transfer in the X loop. For scatter transfer descriptors the valid range is 1...32768. For all the rest of the descriptors (except single transfer), the valid range is 1...65536.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga8953580c547f07a26c9d84b1495b1c6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8953580c547f07a26c9d84b1495b1c6c">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetYloopDataCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetYloopDataCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>yCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the number of data elements for the Y loop of the specified descriptor (for 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">yCount</td><td>The number of X loops to execute in the Y loop. The valid range is 1 ... 65536.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga560d94e059049b3f5445fe3c2e6b72c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga560d94e059049b3f5445fe3c2e6b72c0">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetXloopSrcIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetXloopSrcIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>srcXincrement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the source increment parameter for the X loop of the specified descriptor (for 1D or 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">srcXincrement</td><td>The value of the source increment. The valid range is -32768 ... 32767.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gaa618f9e35a88f634e7be6d695beed5b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa618f9e35a88f634e7be6d695beed5b3">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetXloopDstIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetXloopDstIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>dstXincrement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the destination increment parameter for the X loop for the specified descriptor (for 1D or 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">dstXincrement</td><td>The value of the destination increment. The valid range is -32768 ... 32767.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gacd37c5dad7ec422290149fb8b35e349c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacd37c5dad7ec422290149fb8b35e349c">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetYloopSrcIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetYloopSrcIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>srcYincrement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the source increment parameter for the Y loop for the specified descriptor (for 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">srcYincrement</td><td>The value of the source increment. The valid range is -32768 ... 32767.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gaa54ff10ba6204359e09c8e7e82a09304"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa54ff10ba6204359e09c8e7e82a09304">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetYloopDstIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetYloopDstIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>dstYincrement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the destination increment parameter for the Y loop of the specified descriptor (for 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">dstYincrement</td><td>The value of the destination increment. The valid range is -32768 ... 32767.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga33ee42509bc2000a35cbc804b551b324"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga33ee42509bc2000a35cbc804b551b324">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetInterruptType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetInterruptType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>&#160;</td>
          <td class="paramname"><em>interruptType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the interrupt type parameter for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">interruptType</td><td>The interrupt type set for the descriptor. <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga0cd754c7c65c44218649c71229f7ea19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0cd754c7c65c44218649c71229f7ea19">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetTriggerInType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetTriggerInType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>&#160;</td>
          <td class="paramname"><em>triggerInType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the Trigger In Type parameter for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">triggerInType</td><td>The Trigger In Type parameter <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gacada5d58d10e4159e478b088427ad475"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacada5d58d10e4159e478b088427ad475">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetTriggerOutType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetTriggerOutType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>&#160;</td>
          <td class="paramname"><em>triggerOutType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the Trigger Out Type parameter for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">triggerOutType</td><td>The Trigger Out Type set for the descriptor. <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gab3b43a9d1f68debb968cdc7566ca8260"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab3b43a9d1f68debb968cdc7566ca8260">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetDataSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetDataSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>&#160;</td>
          <td class="paramname"><em>dataSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the Data Element Size parameter for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">dataSize</td><td>The Data Element Size <a class="el" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga3f3af3a57d216ab2221ce0da508b9d77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3f3af3a57d216ab2221ce0da508b9d77">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetSrcTransferSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetSrcTransferSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>&#160;</td>
          <td class="paramname"><em>srcTransferSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the Source Transfer Size parameter for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">srcTransferSize</td><td>The Source Transfer Size <a class="el" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gaeea3a0498b657bbc66812bb5ff032ab3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeea3a0498b657bbc66812bb5ff032ab3">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetDstTransferSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetDstTransferSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>&#160;</td>
          <td class="paramname"><em>dstTransferSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the Destination Transfer Size parameter for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">dstTransferSize</td><td>The Destination Transfer Size <a class="el" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga52a58b795648c1cd7eb364ab21813d93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga52a58b795648c1cd7eb364ab21813d93">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetRetrigger()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetRetrigger </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>&#160;</td>
          <td class="paramname"><em>retrigger</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the retrigger value which specifies whether the controller should wait for the input trigger to be deactivated. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">retrigger</td><td>The <a class="el" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a> parameter specifies whether the controller should wait for the input trigger to be deactivated.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gafe925e283d4874c770f0636a42ac4b9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafe925e283d4874c770f0636a42ac4b9b">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_SetChannelState()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMAC_Descriptor_SetChannelState </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>&#160;</td>
          <td class="paramname"><em>channelState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the channel state on completion of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
    <tr><td class="paramname">channelState</td><td>The channel state <a class="el" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATA_CNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATA_CNT];</div><div class="line">    uint32_t dst[DATA_CNT];</div><div class="line">    uint32_t next_src[DATA_CNT];</div><div class="line">    uint32_t next_dst[DATA_CNT];</div><div class="line"></div><div class="line">    <span class="keywordflow">for</span>(uint32_t i = 0u; i &lt; DATA_CNT; i++)</div><div class="line">    {</div><div class="line">        src[i] = i;</div><div class="line">        next_src[i] = i*2u;</div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dmac__channel__functions.html#gafef0482f395c9f32a193e75edfd22c79">Cy_DMAC_Channel_GetCurrentDescriptor</a>(DMAC, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;descriptor, src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;descriptor, dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga52a58b795648c1cd7eb364ab21813d93">Cy_DMAC_Descriptor_SetRetrigger</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga016be77931e116644c70e934101dd7c3ab796353bb8bb6f244bb8f6d94d002396">CY_DMAC_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga33ee42509bc2000a35cbc804b551b324">Cy_DMAC_Descriptor_SetInterruptType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacada5d58d10e4159e478b088427ad475">Cy_DMAC_Descriptor_SetTriggerOutType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafe925e283d4874c770f0636a42ac4b9b">Cy_DMAC_Descriptor_SetChannelState</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga0e57c8ab013d71005b81e60c2c4ee7a9acbff6554ce23780e0fcf2af9e97816cc">CY_DMAC_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd754c7c65c44218649c71229f7ea19">Cy_DMAC_Descriptor_SetTriggerInType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga78bb44cea66b230aadd012c5bae864a3a274e048caf530edf7ef6159face7c486">CY_DMAC_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gab3b43a9d1f68debb968cdc7566ca8260">Cy_DMAC_Descriptor_SetDataSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggac2fda05300faa05ecfc118f22ed2a3c5ad4112bd05bdc21a993b63b0957bfacf8">CY_DMAC_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga3f3af3a57d216ab2221ce0da508b9d77">Cy_DMAC_Descriptor_SetSrcTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaeea3a0498b657bbc66812bb5ff032ab3">Cy_DMAC_Descriptor_SetDstTransferSize</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#gga678295e9e6a31ad41feab278d0faf4d1a108838a4e9ea224b4a471593b6484471">CY_DMAC_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gafd0db24ee5e8a7fd212a0a4ea6db4f2a">Cy_DMAC_Descriptor_SetDescriptorType</a>(&amp;nextDescriptor, <a class="code" href="group__group__dmac__enums.html#ggafc067b535081b9cd83fa29b9e68b002ca700cc18061eb5de2f16f3dc1ee96fbe8">CY_DMAC_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga6b71b6054e4e16bb3ba58bfdd5bab2cc">Cy_DMAC_Descriptor_SetSrcAddress</a>(&amp;nextDescriptor, next_src);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gad9a9e073cd42384059732d86bd3c8dbf">Cy_DMAC_Descriptor_SetDstAddress</a>(&amp;nextDescriptor, next_dst);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga560d94e059049b3f5445fe3c2e6b72c0">Cy_DMAC_Descriptor_SetXloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa618f9e35a88f634e7be6d695beed5b3">Cy_DMAC_Descriptor_SetXloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga4e1c1dac3801e497af78e0deb77c97f2">Cy_DMAC_Descriptor_SetXloopDataCount</a>(&amp;nextDescriptor, DATA_CNT);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gacd37c5dad7ec422290149fb8b35e349c">Cy_DMAC_Descriptor_SetYloopSrcIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#gaa54ff10ba6204359e09c8e7e82a09304">Cy_DMAC_Descriptor_SetYloopDstIncrement</a>(&amp;nextDescriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga8953580c547f07a26c9d84b1495b1c6c">Cy_DMAC_Descriptor_SetYloopDataCount</a>(&amp;nextDescriptor, 1UL);</div><div class="line"></div><div class="line">        <a class="code" href="group__group__dmac__descriptor__functions.html#ga66bd8c441cebdd6ca8c2c53210f8355e">Cy_DMAC_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga92e6d873ee760a5bfc386c22760926db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga92e6d873ee760a5bfc386c22760926db">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetNextDescriptor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a>* Cy_DMAC_Descriptor_GetNextDescriptor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a next descriptor address of the specified descriptor. </p>
<p>Based on the descriptor type, the offset of the address for the next descriptor register may vary: For the single and scatter transfer descriptors, this register is at offset 0x0c. For the memory copy descriptor type, this register is at offset 0x10. For the 1D-transfer descriptor type, this register is at offset 0x14. For the 2D-transfer descriptor type, this register is at offset 0x1c.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The pointer to the next descriptor.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga89a5a753b8956d05412d106a822cc38b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga89a5a753b8956d05412d106a822cc38b">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetDescriptorType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> Cy_DMAC_Descriptor_GetDescriptorType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the descriptor's type of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The descriptor type <a class="el" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a></dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gac330a3052ba1af3bdb6a22f8e97c9567"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac330a3052ba1af3bdb6a22f8e97c9567">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetSrcAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void * Cy_DMAC_Descriptor_GetSrcAddress </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the source address of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The source address value of the descriptor.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga2f439628d3e05e5e8e9daf99e172c4c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2f439628d3e05e5e8e9daf99e172c4c5">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetDstAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void * Cy_DMAC_Descriptor_GetDstAddress </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the destination address of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The destination address value of the descriptor.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gaaab6af241195f705c87e51457c57b2f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaab6af241195f705c87e51457c57b2f6">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetXloopDataCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Cy_DMAC_Descriptor_GetXloopDataCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of data elements for the X loop of the specified descriptor (for all descriptor types except single transfer). </p>
<p>Based on the descriptor type, the offset of the address for the xCount register may vary: For the scatter transfer descriptors type, this register is at offset 0x8. For all the rest supported descriptor types, this register is at offset 0xc.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of data elements to transfer in the X loop. For scatter transfer descriptors the X loop count unit is an [address, data] pair (two words, or 8 bytes). For memory copy descriptors X loop count unit is one byte. For all the rest descriptors (except single transfer) the X loop count unit is specified by the data transfer size /ref cy_en_dmac_data_size_t.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga0cd6eef7258481e5c50cef2c50b60f44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0cd6eef7258481e5c50cef2c50b60f44">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetYloopDataCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_DMAC_Descriptor_GetYloopDataCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of X loops to execute in the Y loop of the specified descriptor (for 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of X loops to execute in the Y loop. The range is 1 ... 65536.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gae81c87c1bfed0342b8813498e918c261"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae81c87c1bfed0342b8813498e918c261">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetXloopSrcIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE int32_t Cy_DMAC_Descriptor_GetXloopSrcIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the source increment parameter for the X loop of the specified descriptor (for 1D or 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value of the source increment. The range is -32768 ... 32767.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga207b84ec9ca779419608f57b68cbb543"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga207b84ec9ca779419608f57b68cbb543">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetXloopDstIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE int32_t Cy_DMAC_Descriptor_GetXloopDstIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the destination increment parameter for the X loop of the specified descriptor (for 1D or 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value of the destination increment. The range is -32768 ... 32767.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga63bb872f47d781252c49a58bac6c8804"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga63bb872f47d781252c49a58bac6c8804">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetYloopSrcIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE int32_t Cy_DMAC_Descriptor_GetYloopSrcIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the source increment parameter for the Y loop of the specified descriptor (for 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value of source increment. The range is -32768 ... 32767.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga59cef672ea79683cdf083d00ebd81948"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga59cef672ea79683cdf083d00ebd81948">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetYloopDstIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE int32_t Cy_DMAC_Descriptor_GetYloopDstIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the destination increment parameter for the Y loop of the specified descriptor (for 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value of the destination increment. The range is -32768 ... 32767.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga21ec9241535e47bb5e84efbd2e767e86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga21ec9241535e47bb5e84efbd2e767e86">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetInterruptType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a> Cy_DMAC_Descriptor_GetInterruptType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Interrupt-Type of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Interrupt-Type <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gae472348bb46b4cad24957c4bcbf2bce5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae472348bb46b4cad24957c4bcbf2bce5">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetTriggerInType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a> Cy_DMAC_Descriptor_GetTriggerInType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Trigger In Type of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Trigger In Type <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a></dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gab98fa43d55397427d169b5ee4dd14721"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab98fa43d55397427d169b5ee4dd14721">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetTriggerOutType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a> Cy_DMAC_Descriptor_GetTriggerOutType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Trigger Out Type of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Trigger Out Type parameter <a class="el" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga54b4d0efc388ff5b94f9187eb122419a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga54b4d0efc388ff5b94f9187eb122419a">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetDataSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a> Cy_DMAC_Descriptor_GetDataSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Data Element Size of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Data Element Size <a class="el" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga261e31f54cba7a8338849cae611786a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga261e31f54cba7a8338849cae611786a8">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetSrcTransferSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a> Cy_DMAC_Descriptor_GetSrcTransferSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Source Transfer Size of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Source Transfer Size <a class="el" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga97c71222960b53c37181ada01e75bd8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga97c71222960b53c37181ada01e75bd8e">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetDstTransferSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a> Cy_DMAC_Descriptor_GetDstTransferSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Destination Transfer Size of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Destination Transfer Size <a class="el" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a></dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga8b8c79299a21b1ba3a0d1da2e7f86d15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8b8c79299a21b1ba3a0d1da2e7f86d15">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetRetrigger()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a> Cy_DMAC_Descriptor_GetRetrigger </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a value which specifies whether the controller should wait for the input trigger to be deactivated. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Retrigger setting <a class="el" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga261ff701b27ae681e6163a03e86a6bfc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga261ff701b27ae681e6163a03e86a6bfc">&#9670;&nbsp;</a></span>Cy_DMAC_Descriptor_GetChannelState()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a> Cy_DMAC_Descriptor_GetChannelState </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the channel state on completion of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Channel State setting <a class="el" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a></dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMAC_Enable description */</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga016be77931e116644c70e934101dd7c3">cy_en_dmac_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dmac__descriptor__functions.html#ga8b8c79299a21b1ba3a0d1da2e7f86d15">Cy_DMAC_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga21ec9241535e47bb5e84efbd2e767e86">Cy_DMAC_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dmac__descriptor__functions.html#gab98fa43d55397427d169b5ee4dd14721">Cy_DMAC_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga0e57c8ab013d71005b81e60c2c4ee7a9">cy_en_dmac_channel_state_t</a>   channelState    = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261ff701b27ae681e6163a03e86a6bfc">Cy_DMAC_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga78bb44cea66b230aadd012c5bae864a3">cy_en_dmac_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae472348bb46b4cad24957c4bcbf2bce5">Cy_DMAC_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gac2fda05300faa05ecfc118f22ed2a3c5">cy_en_dmac_data_size_t</a>       dataSize        = <a class="code" href="group__group__dmac__descriptor__functions.html#ga54b4d0efc388ff5b94f9187eb122419a">Cy_DMAC_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga261e31f54cba7a8338849cae611786a8">Cy_DMAC_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#ga678295e9e6a31ad41feab278d0faf4d1">cy_en_dmac_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dmac__descriptor__functions.html#ga97c71222960b53c37181ada01e75bd8e">Cy_DMAC_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dmac__enums.html#gafc067b535081b9cd83fa29b9e68b002c">cy_en_dmac_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga89a5a753b8956d05412d106a822cc38b">Cy_DMAC_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#gac330a3052ba1af3bdb6a22f8e97c9567">Cy_DMAC_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                          <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dmac__descriptor__functions.html#ga2f439628d3e05e5e8e9daf99e172c4c5">Cy_DMAC_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#gae81c87c1bfed0342b8813498e918c261">Cy_DMAC_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstXincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga207b84ec9ca779419608f57b68cbb543">Cy_DMAC_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   xCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#gaaab6af241195f705c87e51457c57b2f6">Cy_DMAC_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                       int32_t   srcYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga63bb872f47d781252c49a58bac6c8804">Cy_DMAC_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                       int32_t   dstYincrement   = <a class="code" href="group__group__dmac__descriptor__functions.html#ga59cef672ea79683cdf083d00ebd81948">Cy_DMAC_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                      uint32_t   yCount          = <a class="code" href="group__group__dmac__descriptor__functions.html#ga0cd6eef7258481e5c50cef2c50b60f44">Cy_DMAC_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dmac__descriptor__t.html">cy_stc_dmac_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dmac__descriptor__functions.html#ga92e6d873ee760a5bfc386c22760926db">Cy_DMAC_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
